//
//  DLEmoticonModel.m
//  IMTest
//
//  Created by mac on 2020/3/31.
//  Copyright © 2020 yanbo li. All rights reserved.
//

#import "DLEmoticonModel.h"

@implementation DLEmoticonModel

- (instancetype)initWithDict:(NSDictionary *)dict {
    if (self = [super init]) {
        _ID = [dict valueForKey:@"ID"];
        _tag = [dict valueForKey:@"Tag"];
        _file = [dict valueForKey:@"File"];
    }
    return self;
}

- (NSString *)bundleFile {
    if (!_bundleFile) {
        _bundleFile = [NSString stringWithFormat:@"DGGUIKit.bundle/%@", self.file];
    }
    return _bundleFile;
}

@end
